package com.yhj.blog.business.entity;

import com.yhj.blog.persistence.beans.BizArticle;
import net.minidev.json.annotate.JsonIgnore;

/**
 * @author 杨华京
 * @version 1.0
 * @description
 * @since 1.8
 */
public class Article {
    private BizArticle bizArticle;
    public Article(){
        this.bizArticle=new BizArticle();
    }

    public Article(BizArticle bizArticle){
        this.bizArticle=bizArticle;
    }

    @JsonIgnore
    public BizArticle getBizArticle(){
        return this.bizArticle;
    }

    public Long getId(){
        return this.bizArticle.getId();
    }

    public void setId(Long id){
        this.bizArticle.setId(id);
    }

    public void getTitle(){
        this.bizArticle.getTitle();
    }

    public long getUserId(){
        return this.bizArticle.getUserId();
    }
}
